﻿using System;
using System.Collections.Generic;
using Autodesk.Revit.DB;
using YJKCodeBase.WinForm;
using YJKOpeningCommon.DbOpening;
using YJKOpeningDesignInput.Public;

namespace YJKOpeningDesignInput.DbOpeningCreatorFactory
{
	internal class DbOpeningBaseCreatorFactory
	{
		protected DbOpeningBaseCreatorFactory(ref List<Document> lstDoc, WindowHandle handle, Dictionary<string, int> dicOpeningProfileData)
		{
			this.m_lstDoc = lstDoc;
			this.m_hWndRevit = handle;
			this.m_dicOpeningProfileData = dicOpeningProfileData;
		}

		public virtual bool CreateDbOpening(MEPData mepData, ref LinkedList<DbOpeningBase> lstDbOpening)
		{
			return true;
		}

		protected WindowHandle m_hWndRevit;

		protected List<Document> m_lstDoc;

		protected Dictionary<string, int> m_dicOpeningProfileData;
	}
}
